<!DOCTYPE html>
<html>
	<head>
		<title>Window Focus</title>
		<style>
		.blurItem{
		color: blue;
		}
		
		.focusItem{
		color: red;
		}
		</style>
	</head>
	<body>
		When this window is focused or blurred, a message will appear below telling you when you left and when you came back:
		
		<ul class="myList"></ul>
		
		<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
		<script type="text/javascript" src="my_script.js"></script>
	
	</body>
	
</html>